package com.leantech.android.browser.utils

import android.view.View
import android.view.ViewGroup

object UIUtils {

    fun removeFromParent(view: View) {
        val parent = view.parent
        if (parent is ViewGroup) {
            parent.removeView(view)
        }
    }

}